package com.lxw.weather.model;

public class Observe24hData {
    private String time;         // 时间
    private String temperature;  // 温度
    private String windDirection;// 风向
    private String windPower;    // 风力
    private String weather;      // 天气状况
    private String weatherCode;  // 天气图标代码
    private String humidity;     // 湿度
    private String precipitation;// 降水量
    private String pressure;     // 气压
    private String minTemp;      // 最低温度
    private String maxTemp;      // 最高温度
    private String dayWindDirection; // 白天风向
    private String dayWindPower;    // 白天风力
    private String nightWindDirection; // 夜晚风向
    private String nightWindPower;    // 夜晚风力
    private String aqi; // 空气质量

    // Getter和Setter方法
    public String getTime() { return time; }
    public void setTime(String time) { this.time = time; }

    public String getTemperature() { return temperature; }
    public void setTemperature(String temperature) { this.temperature = temperature; }

    public String getWindDirection() { return windDirection; }
    public void setWindDirection(String windDirection) { this.windDirection = windDirection; }

    public String getWindPower() { return windPower; }
    public void setWindPower(String windPower) { this.windPower = windPower; }

    public String getWeather() { return weather; }
    public void setWeather(String weather) { this.weather = weather; }

    public String getWeatherCode() { return weatherCode; }
    public void setWeatherCode(String weatherCode) { this.weatherCode = weatherCode; }
    
    public String getHumidity() { return humidity; }
    public void setHumidity(String humidity) { this.humidity = humidity; }

    public String getPrecipitation() { return precipitation; }
    public void setPrecipitation(String precipitation) { this.precipitation = precipitation; }

    public String getPressure() { return pressure; }
    public void setPressure(String pressure) { this.pressure = pressure; }
    
    // 添加最低/最高温度和昼夜风向风力的getter/setter
    public String getMinTemp() { return minTemp; }
    public void setMinTemp(String minTemp) { this.minTemp = minTemp; }

    public String getMaxTemp() { return maxTemp; }
    public void setMaxTemp(String maxTemp) { this.maxTemp = maxTemp; }

    public String getDayWindDirection() { return dayWindDirection; }
    public void setDayWindDirection(String dayWindDirection) { this.dayWindDirection = dayWindDirection; }

    public String getDayWindPower() { return dayWindPower; }
    public void setDayWindPower(String dayWindPower) { this.dayWindPower = dayWindPower; }

    public String getNightWindDirection() { return nightWindDirection; }
    public void setNightWindDirection(String nightWindDirection) { this.nightWindDirection = nightWindDirection; }

    public String getNightWindPower() { return nightWindPower; }
    public void setNightWindPower(String nightWindPower) { this.nightWindPower = nightWindPower; }

    public String getAqi() { return aqi; }
    public void setAqi(String aqi) { this.aqi = aqi; }
    @Override
    public String toString() {
        return "Observe24hData{" +
                "time='" + time + '\'' +
                ", temperature='" + temperature + '\'' +
                ", windDirection='" + windDirection + '\'' +
                ", windPower='" + windPower + '\'' +
                ", weather='" + weather + '\'' +
                ", weatherCode='" + weatherCode + '\'' +
                ", humidity='" + humidity + '\'' +
                ", precipitation='" + precipitation + '\'' +
                ", pressure='" + pressure + '\'' +
                ", minTemp='" + minTemp + '\'' +
                ", maxTemp='" + maxTemp + '\'' +
                ", dayWindDirection='" + dayWindDirection + '\'' +
                ", dayWindPower='" + dayWindPower + '\'' +
                ", nightWindDirection='" + nightWindDirection + '\'' +
                ", nightWindPower='" + nightWindPower + '\'' +
                '}';
    }
}